module.exports = {
    devServer: {
        proxy: {
            '/': {
                target: 'https://oapi.dingtalk.com/',
                autoRewrite: true,
                cookieDomainRewrite: {
                    '*': ''
                },
                pathRewrite: {
                    ['^' + '/']: ''
                }
            }
        },

    },
    configureWebpack: {
        devServer: {
          headers: {
            'Access-Control-Allow-Origin': '*'
          }
        }
    },
}
